package sw6.programExample;

import sw6.programExample.R;
import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;

public class CustomActivity extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.custom);
		Button button = (Button)findViewById(R.id.button1);
		
		Bundle extra = getIntent().getExtras();
		String varName = extra.getString("varName");
		
		button.setText(varName);
	}
}

